from org.eclipse.ui import IPageLayout
from org.jyrcp.base import PerspectiveCreator

class Default(PerspectiveCreator):

    def createInitialLayout(self, layout):
        editorArea = layout.editorArea
        layout.editorAreaVisible = False
        
        topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.25, editorArea)
        topLeft.addView('org.jyrcp.base.views.table_view')
        
        topRight = layout.createFolder("topRight", IPageLayout.RIGHT, 0.75, editorArea)
        topRight.addView('org.jyrcp.base.views.browser_view')
